<template>
    <div class="product-search">
        <p class="product-title">小游匣为你推荐以下旅行套餐：</p>
        <div class="product-list">
            <div class="product-item">
                <img src="https://dimg04.c-ctrip.com/images/0100112000813r8qwB0B1_W_1024_0_Q90.jpg?proc=autoorient" alt="">
                <p class="product-name text-show ">海湾区超美风景线，一起感受至美南沙</p>
                <p class="product-price">¥1299</p>
            </div>
        </div>
    </div>
</template>

<script setup lang="ts">

</script>

<style scoped lang="less"> 
    .product-search{
        background-color: #fff;
        border-radius: 10px;
        padding: 10px;
        margin-bottom: 10px;
        .product-title{
            font-size: 18px;
            font-weight: bold;
            color: #165DFF;
            padding: 10px;
            font-family: 'WenXinXiLeTi', sans-serif;
        }
        .product-list{
            display: flex;
            padding-top: 7px;
            overflow-x: auto;
            gap: 7px;
            .product-item{
                width: 130px;
                background: #f3f3f3;
                border-radius: 5px;
                flex-direction: column;
                flex-shrink: 0;
                img{
                    width: 100%;
                    height: 140px;
                    object-fit: cover;
                    border-radius: 5px;
                }
                .product-name{
                    font-size: 15px;
                    font-weight: bold;
                    line-height: 1.4;
                    color: #333;
                    margin: 6px;
                }
                .product-price{
                    font-size: 12px;
                    color: #FF4D4F;
                    padding: 0 5px 5px 5px; 
                    font-weight: bold;
                    margin-top: auto;
                }
            }
        }
    }
</style>